package cn.com.hhrcw.service.impl;

import cn.com.hhrcw.entity.OpInterviewHistory;
import cn.com.hhrcw.mapper.OpInterviewHistoryMapper;
import cn.com.hhrcw.service.IOpInterviewHistoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
    * 职位-面试 服务实现类
    * </p>
 *
 * @author jiangdong
 * @since 2020-10-29
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class OpInterviewHistoryServiceImpl extends ServiceImpl<OpInterviewHistoryMapper, OpInterviewHistory> implements IOpInterviewHistoryService {
    @Autowired
    private OpInterviewHistoryMapper opInterviewHistoryMapper;
    @Override
    public List<OpInterviewHistory> getSoonInterview() {
        return opInterviewHistoryMapper.getSoonInterview();
    }
}
